package com.hbuzzs.springcloud.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangzhishun
 * @since 2020-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("driver_info")
@ApiModel(value="DriverInfo对象", description="")
public class DriverInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "出租车用户ID")
    @TableId(value = "driver_id", type = IdType.AUTO)
    private Integer driverId;

    @ApiModelProperty(value = "出租车用户真实名字")
    @TableField("driver_name")
    private String driverName;

    @ApiModelProperty(value = "账户密码")
    @TableField("driver_passwd")
    private String driverPasswd;

    @ApiModelProperty(value = "出租车用户性别")
    @TableField("driver_sex")
    private String driverSex;


}
